import {BasicColumn} from '/@/components/Table';
import {FormSchema} from '/@/components/Table';
import {h} from 'vue';
import {Switch} from 'ant-design-vue';

export const columns: BasicColumn[] = [
        {
            title: '是否需要预约（1不需要，2需要）',
            dataIndex: 'isAppoint',
            width: 200,
        },
        {
            title: '贵宾厅通道简介',
            dataIndex: 'viponlyDesc',
            width: 200,
        },
        {
            title: '贵宾通道地址',
            dataIndex: 'viponlyAddress',
            width: 200,
        },
        {
            title: '通道电话',
            dataIndex: 'viponlyPhone',
            width: 200,
        },
        {
            title: '温馨提示',
            dataIndex: 'viponlyTips',
            width: 200,
        },
        {
            title: '排序',
            dataIndex: 'viponlySort',
            width: 200,
        },
        {
            title: '所属机场',
            dataIndex: 'airportId',
            width: 200,
        },
        {
            title: '预约控制',
            dataIndex: 'maxTime',
            width: 200,
        },
        {
            title: '营业时间',
            dataIndex: 'viponlyTime',
            width: 200,
        },
        {
            title: '营业起时间',
            dataIndex: 'startTime',
            width: 200,
        },
        {
            title: '营业止时间',
            dataIndex: 'endTime',
            width: 200,
        },
        {
            title: '航站楼信息',
            dataIndex: 'terminalInfo',
            width: 200,
        },
        {
            title: '（1国内出发/2国际出发）',
            dataIndex: 'departType',
            width: 200,
        },
        {
            title: '首字母',
            dataIndex: 'firstLetter',
            width: 200,
        },
        {
            title: '推荐购卡的卡种',
            dataIndex: 'recommendVipcardId',
            width: 200,
        },
];

export const searchFormSchema: FormSchema[] = [
];

export const formSchema: FormSchema[] = [
        {
            label: '是否需要预约（1不需要，2需要）',
            field: 'isAppoint',
            component: 'Input',
            required: true,
        },
        {
            label: '贵宾厅通道简介',
            field: 'viponlyDesc',
            component: 'Input',
            required: true,
        },
        {
            label: '贵宾通道地址',
            field: 'viponlyAddress',
            component: 'Input',
            required: true,
        },
        {
            label: '通道电话',
            field: 'viponlyPhone',
            component: 'Input',
            required: true,
        },
        {
            label: '温馨提示',
            field: 'viponlyTips',
            component: 'Input',
            required: true,
        },
        {
            label: '排序',
            field: 'viponlySort',
            component: 'Input',
            required: true,
        },
        {
            label: '所属机场',
            field: 'airportId',
            component: 'Input',
            required: true,
        },
        {
            label: '预约控制',
            field: 'maxTime',
            component: 'Input',
            required: true,
        },
        {
            label: '营业时间',
            field: 'viponlyTime',
            component: 'Input',
            required: true,
        },
        {
            label: '营业起时间',
            field: 'startTime',
            component: 'Input',
            required: true,
        },
        {
            label: '营业止时间',
            field: 'endTime',
            component: 'Input',
            required: true,
        },
        {
            label: '航站楼信息',
            field: 'terminalInfo',
            component: 'Input',
            required: true,
        },
        {
            label: '（1国内出发/2国际出发）',
            field: 'departType',
            component: 'Input',
            required: true,
        },
        {
            label: '首字母',
            field: 'firstLetter',
            component: 'Input',
            required: true,
        },
        {
            label: '推荐购卡的卡种',
            field: 'recommendVipcardId',
            component: 'Input',
            required: true,
        },
];
